﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class ColorBlend
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class ColorBlend
   ">
    <meta name="generator" content="docfx 2.40.12.0">
    
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Mapsui.Styles.Thematics.ColorBlend">
  
  
  <h1 id="Mapsui_Styles_Thematics_ColorBlend" data-uid="Mapsui.Styles.Thematics.ColorBlend" class="text-break">Class ColorBlend
  </h1>
  <div class="markdown level0 summary"><p>Defines arrays of colors and positions used for interpolating color blending in a multicolor gradient.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">ColorBlend</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Mapsui.Styles.Thematics.html">Mapsui.Styles.Thematics</a></h6>
  <h6><strong>Assembly</strong>: Mapsui.dll</h6>
  <h5 id="Mapsui_Styles_Thematics_ColorBlend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ColorBlend : object</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend__ctor_Mapsui_Styles_Color___System_Double___.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.%23ctor(Mapsui.Styles.Color%5B%5D%2CSystem.Double%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L53">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend__ctor_" data-uid="Mapsui.Styles.Thematics.ColorBlend.#ctor*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend__ctor_Mapsui_Styles_Color___System_Double___" data-uid="Mapsui.Styles.Thematics.ColorBlend.#ctor(Mapsui.Styles.Color[],System.Double[])">ColorBlend(Color[], Double[])</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the ColorBlend class.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ColorBlend(Color[] colors, double[] positions)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a>[]</td>
        <td><span class="parametername">colors</span></td>
        <td><p>An array of Color structures that represents the colors to use at corresponding positions along a gradient.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><span class="parametername">positions</span></td>
        <td><p>An array of values that specify percentages of distance along the gradient line.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_BlackToWhite.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.BlackToWhite%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L152">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_BlackToWhite_" data-uid="Mapsui.Styles.Thematics.ColorBlend.BlackToWhite*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_BlackToWhite" data-uid="Mapsui.Styles.Thematics.ColorBlend.BlackToWhite">BlackToWhite</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from black to white</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend BlackToWhite { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_BlueToGreen.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.BlueToGreen%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L196">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_BlueToGreen_" data-uid="Mapsui.Styles.Thematics.ColorBlend.BlueToGreen*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_BlueToGreen" data-uid="Mapsui.Styles.Thematics.ColorBlend.BlueToGreen">BlueToGreen</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from blue to green</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend BlueToGreen { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_BlueToRed.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.BlueToRed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L229">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_BlueToRed_" data-uid="Mapsui.Styles.Thematics.ColorBlend.BlueToRed*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_BlueToRed" data-uid="Mapsui.Styles.Thematics.ColorBlend.BlueToRed">BlueToRed</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from blue to red</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend BlueToRed { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_Colors.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.Colors%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L30">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_Colors_" data-uid="Mapsui.Styles.Thematics.ColorBlend.Colors*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_Colors" data-uid="Mapsui.Styles.Thematics.ColorBlend.Colors">Colors</h4>
  <div class="markdown level1 summary"><p>Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Color[] Colors { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a>[]</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_GreenToBlue.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.GreenToBlue%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L207">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_GreenToBlue_" data-uid="Mapsui.Styles.Thematics.ColorBlend.GreenToBlue*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_GreenToBlue" data-uid="Mapsui.Styles.Thematics.ColorBlend.GreenToBlue">GreenToBlue</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from green to blue</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend GreenToBlue { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_GreenToRed.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.GreenToRed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L185">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_GreenToRed_" data-uid="Mapsui.Styles.Thematics.ColorBlend.GreenToRed*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_GreenToRed" data-uid="Mapsui.Styles.Thematics.ColorBlend.GreenToRed">GreenToRed</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from green to red</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend GreenToRed { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_Positions.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.Positions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L44">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_Positions_" data-uid="Mapsui.Styles.Thematics.ColorBlend.Positions*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_Positions" data-uid="Mapsui.Styles.Thematics.ColorBlend.Positions">Positions</h4>
  <div class="markdown level1 summary"><p>Gets or sets the positions along a gradient line.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double[] Positions { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><p>An array of values that specify percentages of distance along the gradient line.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_Thematics_ColorBlend_Positions_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p><p>The elements of this array specify percentages of distance along the gradient line.
For example, an element value of 0.2f specifies that this point is 20 percent of the total
distance from the starting point. The elements in this array are represented by float
values between 0.0f and 1.0f, and the first element of the array must be 0.0f and the
last element must be 1.0f.</p></p>
<pre>Along with the Colors property, this property defines a multicolor gradient.</pre>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_Rainbow5.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.Rainbow5%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L139">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_Rainbow5_" data-uid="Mapsui.Styles.Thematics.ColorBlend.Rainbow5*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_Rainbow5" data-uid="Mapsui.Styles.Thematics.ColorBlend.Rainbow5">Rainbow5</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale with five colours making a rainbow from red to blue.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend Rainbow5 { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_Thematics_ColorBlend_Rainbow5_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Colors span the following with an interval of 0.25:
{ Color.Red, Color.Yellow, Color.Green, Color.Cyan, Color.Blue }</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_Rainbow7.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.Rainbow7%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L118">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_Rainbow7_" data-uid="Mapsui.Styles.Thematics.ColorBlend.Rainbow7*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_Rainbow7" data-uid="Mapsui.Styles.Thematics.ColorBlend.Rainbow7">Rainbow7</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale with seven colours making a rainbow from red to violet.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend Rainbow7 { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_Thematics_ColorBlend_Rainbow7_remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>Colors span the following with an interval of 1/6:
{ Color.Red, Color.Orange, Color.Yellow, Color.Green, Color.Blue, Color.Indigo, Color.Violet }</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_RedToBlue.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.RedToBlue%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L218">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_RedToBlue_" data-uid="Mapsui.Styles.Thematics.ColorBlend.RedToBlue*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_RedToBlue" data-uid="Mapsui.Styles.Thematics.ColorBlend.RedToBlue">RedToBlue</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from red to blue</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend RedToBlue { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_RedToGreen.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.RedToGreen%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L174">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_RedToGreen_" data-uid="Mapsui.Styles.Thematics.ColorBlend.RedToGreen*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_RedToGreen" data-uid="Mapsui.Styles.Thematics.ColorBlend.RedToGreen">RedToGreen</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from red to green</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend RedToGreen { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_WhiteToBlack.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.WhiteToBlack%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L163">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_WhiteToBlack_" data-uid="Mapsui.Styles.Thematics.ColorBlend.WhiteToBlack*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_WhiteToBlack" data-uid="Mapsui.Styles.Thematics.ColorBlend.WhiteToBlack">WhiteToBlack</h4>
  <div class="markdown level1 summary"><p>Gets a linear gradient scale from white to black</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend WhiteToBlack { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_GetColor_System_Double_.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.GetColor(System.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L66">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_GetColor_" data-uid="Mapsui.Styles.Thematics.ColorBlend.GetColor*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_GetColor_System_Double_" data-uid="Mapsui.Styles.Thematics.ColorBlend.GetColor(System.Double)">GetColor(Double)</h4>
  <div class="markdown level1 summary"><p>Gets the color from the scale at position &apos;pos&apos;.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Color GetColor(double pos)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">pos</span></td>
        <td><p>Position on scale between 0.0f and 1.0f</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td>
        <td><p>Color on scale</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_Thematics_ColorBlend_GetColor_System_Double__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>If the position is outside the scale [0..1] only the fractional part
is used (in other words the scale restarts for each integer-part).</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_ThreeColors_Mapsui_Styles_Color_Mapsui_Styles_Color_Mapsui_Styles_Color_.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.ThreeColors(Mapsui.Styles.Color%2CMapsui.Styles.Color%2CMapsui.Styles.Color)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L253">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_ThreeColors_" data-uid="Mapsui.Styles.Thematics.ColorBlend.ThreeColors*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_ThreeColors_Mapsui_Styles_Color_Mapsui_Styles_Color_Mapsui_Styles_Color_" data-uid="Mapsui.Styles.Thematics.ColorBlend.ThreeColors(Mapsui.Styles.Color,Mapsui.Styles.Color,Mapsui.Styles.Color)">ThreeColors(Color, Color, Color)</h4>
  <div class="markdown level1 summary"><p>Creates a linear gradient scale from three colors</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend ThreeColors(Color fromColor, Color middleColor, Color toColor)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td>
        <td><span class="parametername">fromColor</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td>
        <td><span class="parametername">middleColor</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td>
        <td><span class="parametername">toColor</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend_TwoColors_Mapsui_Styles_Color_Mapsui_Styles_Color_.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend.TwoColors(Mapsui.Styles.Color%2CMapsui.Styles.Color)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L245">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_ColorBlend_TwoColors_" data-uid="Mapsui.Styles.Thematics.ColorBlend.TwoColors*"></a>
  <h4 id="Mapsui_Styles_Thematics_ColorBlend_TwoColors_Mapsui_Styles_Color_Mapsui_Styles_Color_" data-uid="Mapsui.Styles.Thematics.ColorBlend.TwoColors(Mapsui.Styles.Color,Mapsui.Styles.Color)">TwoColors(Color, Color)</h4>
  <div class="markdown level1 summary"><p>Creates a linear gradient scale from two colors</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ColorBlend TwoColors(Color fromColor, Color toColor)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td>
        <td><span class="parametername">fromColor</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td>
        <td><span class="parametername">toColor</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_ColorBlend.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.ColorBlend%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/ColorBlend.cs/#L25" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
